

            <g:set var="entityName" value="${message(code: 'categorys.label', default: 'Categorys')}" />
            <h1>栏目列表</h1>
            <h2><g:if test="${parent}">[<g:link  action="list" id="${parent?.parent?.id}">${parent}</g:link>]下的所有子栏目</g:if></h2>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
            </div>